package com.example.dingtalklogin.service.dto;

import com.example.dingtalklogin.common.validator.IValidate;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 钉钉和用户绑定指令
 * @author xuzhen97
 */
@Data
public class DingtalkBindingCmd implements IValidate {
    @NotBlank(message = "unionId未传入")
    private String unionId;
    @NotBlank(message = "opUserId操作用户未传入")
    private String opUserId;
    @NotBlank(message = "userId未传入")
    private String userId;
}
